package com.vhall.component.entity.lottery.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 创建奖品库请求VO
 *
 * @author zhangtao
 */
@Data
@NoArgsConstructor
public class GenerateAwardVO {

    /**
     * B端用户ID
     */
    @ParamName("business_uid")
    @JsonProperty("business_uid")
    @NotNull(message = "B端用户ID不能为空")
    private Long businessUid;

    /**
     * paas应用ID
     */
    @ParamName("app_id")
    @JsonProperty("app_id")
    @NotBlank(message = "应用ID不能为空")
    private String appId;

    /**
     * 来源ID
     */
    @ParamName("source_id")
    @JsonProperty("source_id")
    @NotBlank
    private String sourceId;

    /**
     * 奖品ID，多个用逗号分隔
     */
    @ParamName("ids")
    @JsonProperty("ids")
    @NotBlank
    private String ids;

}
